#include <opencv2/opencv.hpp>
#include <iostream>


using namespace std;
using namespace cv;
int main()
{
    Mat image;
    char keyPress;
    cout<<"Welcome to Qt\n";
    image=imread("C:/Users/Administrator/Pictures/lena.jpg",IMREAD_COLOR);
    imshow("Opnecv && QT",image);
    while (1) {
        keyPress=waitKey();
        if(keyPress=='q')
        {
            destroyAllWindows();
            break;
        }
    }
    return 0;
}
